from pydantic import BaseModel, Field
from datetime import datetime
from typing import Optional

class AgentBase(BaseModel):
    userId: Optional[str] = None
    name: Optional[str] = None
    gender: Optional[str] = None
    alias: Optional[str] = None
    placeOfOrigin: Optional[str] = None
    profession: Optional[str] = None
    age: Optional[int] = None
    style: Optional[str] = None
    other: Optional[str] = None
    goal: Optional[str] = None
    template: Optional[str] = None
    notes: Optional[str] = None


class AgentResponse(AgentBase):
    createdAt: datetime
    updatedAt: datetime